<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Dettaglio</title>
</head>
<body>
   <form name="bacheca" method="post" action="BachecaServlet">
      <input type="hidden" name="username" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
   <form name="notifiche" method="post" action="NotificheServlet">
      <input type="hidden" name="username" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
    <form name="ricerca" method="post" action="Ricerca.jsp">
      <input type="hidden" name="id" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
   <p>
    <a href="javascript:document.bacheca.submit()">Bacheca</a>
    <a href="javascript:document.notifiche.submit()">Notifiche</a>
    <a href="MostraMioProfiloServlet?id=<%= request.getParameter("session") %>"><%= request.getParameter("nomeId") %><%= request.getParameter("cognomeId") %></a>
    <a href="javascript:document.ricerca.submit()">Ricerca</a>
    <a href="LogoutServlet?username=<%= request.getParameter("session")%>&user=utente">Logout</a>
</p>
<p><%= request.getParameter("commento") %></p>
<form name="dettaglio" method="post" action="ProfiloUtenteServlet">
   <input type="hidden" name="session" value="<%=request.getParameter("session") %>">
   <input type="hidden" name="nomeId" value="<%=request.getParameter("nomeId") %>">
   <input type="hidden" name="cognomeId" value="<%=request.getParameter("cognomeId") %>">
   <input type="hidden" name="username" value="<%=request.getParameter("utente") %>">
   <input type="hidden" name="amico" value="<%= request.getParameter("amico") %>">
   <input type="hidden" name="from" value="dettFeed">
</form> 
<a href="javascript:document.dettaglio.submit()">Torna al profilo di <%= request.getParameter("utente") %></a> 
</body>
</html>